{if $user}
<div class="panelTabs">
	<div class="tabs">
		<a class="label" title="{'Profile'|t}" >{'Profile'|t}</a>
	</div>
</div>
<div class="backgroundFrame280Top"></div>
	<div class="backgroundFrame280">
		<div class="panel280ProfileBox">
			<img src="{$urlStatic}/{image src=$user->getAvatar() w=100 h=100}" title="{$user->getFirstName()} {$user->getLastName()}" alt="{$user->getFirstName()} {$user->getLastName()}" class="avatar"/>
			<h2>{$user->getFirstName()}<br/>{$user->getLastName()}</h2>
			<a href="{url label=editProfile}" title="{'Edit profile'|t}" class="edit">{'edit profile'|t}</a>

			<div class="clearBoth"></div>
			<div class="spacer"></div>
		<table cellpadding="0" cellspacing="0" align="center" class="panelProfle">
		<tr><td class="label">{'Tennizoom points'|t}:</td><td>{$user->getPoints()}<br/><a href="profile_points.html" title="{'details'|t}">{'details'|t}</a></td></tr>
		<tr><td class="label">{'Age'|t}:</td><td>{$user->getAge()}</td></tr>
		<tr><td class="label">{'NTPR'|t}:</td><td>{$userExtended->getNtrp()}</td></tr>
		<tr><td class="label">{'Location'|t}:</td><td>{if $user->getCity()}{$user->getCity()},{/if} {if $user->getState()}{$user->getState()},{/if} {if $user->getLocation()}{$user->getLocation()}{/if}</td></tr>
		<tr><td class="label">{'Comments'|t}:</td><td>{$user->getCommentsCount()}</td></tr>
		<tr><td class="label">{'Product opinions'|t}:</td><td>{$user->getProductCommentsCount()}</td></tr>
		<tr><td class="label">{'Connnections'|t}:</td><td>{$user->GetConnectionsCount()} {'friends'|t}</td></tr>		
		
		</table>

		</div>
	</div>
<div class="backgroundFrame280Bottom"></div>
<br />
{/if}